package com.kingdee.eas.custom.wg.rpts;

import com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.metadata.entity.FilterInfo;
import com.kingdee.bos.metadata.entity.FilterItemInfo;
import com.kingdee.eas.rpts.ctrlsqldesign.param.AbstractParamRelation;

public class MRPRunLogParamRelation extends AbstractParamRelation {

	public void loadSolutionAfter() throws Exception
	{
		
		KDBizPromptBox prmtMRPRunLog = (KDBizPromptBox) objectComponents.get("calcid");
	
		EntityViewInfo eviCmpPeriod = new EntityViewInfo();
		FilterInfo filterInfoCmpPeriod = new FilterInfo();
		filterInfoCmpPeriod.getFilterItems().add(new FilterItemInfo("PLANVERSION.PLANTYPE", 20));
		eviCmpPeriod.setFilter(filterInfoCmpPeriod);
		prmtMRPRunLog.setEntityViewInfo(eviCmpPeriod);
	}
	
}
